package com.jic.member.mapper.power;

import java.lang.Long;
import java.util.List;


import com.jic.member.entity.power.MememberTypeGrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员类型等级记录表
 * @author : 
 * @email : 
 * @since : 2020-04-27 02:59:22
 * @version : v1.0.0
 */
@Mapper
public interface  MememberTypeGradeMapper {

    long insert(MememberTypeGrade mememberTypeGrade);

    long delete(Long id);

    long update(MememberTypeGrade mememberTypeGrade);

    MememberTypeGrade queryByPrimaryKey(Long id);

    List<MememberTypeGrade> query(MememberTypeGrade mememberTypeGrade);

    List<MememberTypeGrade> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberTypeGrade") MememberTypeGrade mememberTypeGrade);

    long queryPageCount(MememberTypeGrade mememberTypeGrade);
}